package cn.ruituo.adv4.exe;

import java.util.Calendar;

public class ExamTime {
    public static void main(String[] args) {
        Calendar c = Calendar.getInstance();
        for(int i=0;i<12;i++){
            c.set(Calendar.DATE,1);
            c.set(Calendar.MONTH,i);
            c.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY);
            //System.out.println(c.getTime());
            c.set(Calendar.DAY_OF_WEEK_IN_MONTH,-1);//!!!!!!!!!!!!!
            System.out.println(c.getTime());
        }
    }
}
